package com.hackordie.bindables;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.hibernate.validator.constraints.NotEmpty;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType
@XmlRootElement
public class BindableLogin {

	@XmlElement
	@NotEmpty
	private String j_username;

	@XmlElement
	@NotEmpty
	private String j_password;
	
	@XmlElement
	private String _spring_security_remember_me;

	public BindableLogin() {

	}

	public BindableLogin(String j_username, String j_password) {
		this.j_username = j_username;
		this.j_password = j_password;
	}

	public String getJ_username() {
		return j_username;
	}

	public void setJ_username(String j_username) {
		this.j_username = j_username;
	}

	public String getJ_password() {
		return j_password;
	}

	public void setJ_password(String j_password) {
		this.j_password = j_password;
	}
	
	public String get_spring_security_remember_me() {
		return _spring_security_remember_me;
	}

	public void set_spring_security_remember_me(String _spring_security_remember_me) {
		this._spring_security_remember_me = _spring_security_remember_me;
	}

}